#/bin/sh
cp -R ../resources/org.eclipse.* ./
cp -R ../resources/equinox.* ./
cp ../resources/equinox.binaries/org.eclipse.equinox.launcher.gtk.linux.loongarch64/* ./org.eclipse.equinox.launcher.gtk.linux.loongarch64/
cp ../resources/eclipse.ini ./
cp ../resources/bundles.info ./
sed -i 's/1.4.200.qualifier/1.4.200.v20220812-1420/g' org.eclipse.core.filesystem.linux.loongarch64/META-INF/MANIFEST.MF
sed -i 's/1.2.1300.qualifier/1.2.1300.v20250212-0927/g' org.eclipse.equinox.launcher.gtk.linux.loongarch64/META-INF/MANIFEST.MF
sed -i 's/3.129.0.qualifier/3.129.0.v20250221-1734/g' org.eclipse.swt.gtk.linux.loongarch64/META-INF/MANIFEST.MF
sed -i 's/aarch64/loongarch64/g' eclipse.ini
sed -i 's/aarch64/loongarch64/g' bundles.info
